package org.mashibing.remote;

import org.mashibing.dto.ResponseResult;
import org.mashibing.request.OrderRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author:
 * @create: 2024/7/4 10:43
 * @description:
 */
@FeignClient("service-order")
public interface ServiceOrderClient {

    @PostMapping ("/order/add")
    ResponseResult add(@RequestBody OrderRequest orderRequest);
}

